package com.scores.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Student implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer studentNo;
    private String studentName;
    private String studentSex;
    private Integer studentAge;
    private String studentBirthday;
    private Integer studentDel;
    private String studentPassword;

    private List<Teacher> teacherList;

    public Student(Integer studentNo, String studentPassword) {
        this.studentNo = studentNo;
        this.studentPassword = studentPassword;
    }

    public Student(Integer studentNo, String studentName, String studentSex, Integer studentAge, String studentBirthday, Integer studentDel) {
        this.studentNo = studentNo;
        this.studentName = studentName;
        this.studentSex = studentSex;
        this.studentAge = studentAge;
        this.studentBirthday = studentBirthday;
        this.studentDel = studentDel;
    }

}
